//
//  UIColor+Theme.m
//  ShandongPoker
//
//  Created by Developer on 2025-01-08.
//  Copyright © 2025 ShandongPoker. All rights reserved.
//

#import "UIColor+Theme.h"

@implementation UIColor (Theme)

#pragma mark - 主色调

+ (UIColor *)sp_pokerGreenColor {
    return [UIColor colorWithRed:15.0/255.0 green:81.0/255.0 blue:50.0/255.0 alpha:1.0];
}

+ (UIColor *)sp_pokerLightGreenColor {
    return [UIColor colorWithRed:25.0/255.0 green:135.0/255.0 blue:84.0/255.0 alpha:1.0];
}

+ (UIColor *)sp_pokerBackgroundGreenColor {
    return [UIColor colorWithRed:10.0/255.0 green:54.0/255.0 blue:34.0/255.0 alpha:1.0];
}

#pragma mark - 筹码色彩

+ (UIColor *)sp_chipGoldColor {
    return [UIColor colorWithRed:255.0/255.0 green:215.0/255.0 blue:0.0/255.0 alpha:1.0];
}

+ (UIColor *)sp_chipDarkGoldColor {
    return [UIColor colorWithRed:184.0/255.0 green:134.0/255.0 blue:11.0/255.0 alpha:1.0];
}

+ (UIColor *)sp_chipLightGoldColor {
    return [UIColor colorWithRed:255.0/255.0 green:239.0/255.0 blue:148.0/255.0 alpha:1.0];
}

#pragma mark - 功能色彩

+ (UIColor *)sp_warningRedColor {
    return [UIColor colorWithRed:220.0/255.0 green:53.0/255.0 blue:69.0/255.0 alpha:1.0];
}

+ (UIColor *)sp_infoBluColor {
    return [UIColor colorWithRed:13.0/255.0 green:110.0/255.0 blue:253.0/255.0 alpha:1.0];
}

+ (UIColor *)sp_successGreenColor {
    return [UIColor colorWithRed:25.0/255.0 green:135.0/255.0 blue:84.0/255.0 alpha:1.0];
}

+ (UIColor *)sp_neutralGrayColor {
    return [UIColor colorWithRed:108.0/255.0 green:117.0/255.0 blue:125.0/255.0 alpha:1.0];
}

#pragma mark - 文字色彩

+ (UIColor *)sp_primaryTextColor {
    return [UIColor whiteColor];
}

+ (UIColor *)sp_secondaryTextColor {
    return [UIColor colorWithRed:233.0/255.0 green:236.0/255.0 blue:239.0/255.0 alpha:1.0];
}

+ (UIColor *)sp_disabledTextColor {
    return [UIColor colorWithRed:173.0/255.0 green:181.0/255.0 blue:189.0/255.0 alpha:1.0];
}

+ (UIColor *)sp_accentTextColor {
    return [self sp_chipGoldColor];
}

#pragma mark - 背景色彩

+ (UIColor *)sp_backgroundDarkColor {
    return [UIColor colorWithRed:33.0/255.0 green:37.0/255.0 blue:41.0/255.0 alpha:1.0];
}

+ (UIColor *)sp_cardBackgroundColor {
    return [UIColor colorWithRed:52.0/255.0 green:58.0/255.0 blue:64.0/255.0 alpha:1.0];
}

+ (UIColor *)sp_inputBackgroundColor {
    return [UIColor colorWithRed:73.0/255.0 green:80.0/255.0 blue:87.0/255.0 alpha:1.0];
}

#pragma mark - 扑克牌色彩

+ (UIColor *)sp_cardRedColor {
    return [UIColor colorWithRed:220.0/255.0 green:53.0/255.0 blue:69.0/255.0 alpha:1.0];
}

+ (UIColor *)sp_cardBlackColor {
    return [UIColor colorWithRed:33.0/255.0 green:37.0/255.0 blue:41.0/255.0 alpha:1.0];
}

+ (UIColor *)sp_cardBackColor {
    return [UIColor colorWithRed:26.0/255.0 green:71.0/255.0 blue:42.0/255.0 alpha:1.0];
}

@end